package team.lourd.network.system.batch.domian;

import lombok.Data;
import org.springframework.data.annotation.Transient;
import team.lourd.network.system.batch.logic.ConditionType;
import team.lourd.network.system.own.domain.Detail;

import javax.persistence.*;
import java.util.HashMap;
import java.util.Map;

/**
 * 条件组
 *
 * @author JADemo
 * @date 2019/2/18 10:51
 */
@Data
public class ProcessCondition {
    // 条件的内容
    private String content;
    // 条件组返回的结果
    private boolean result;
    // 条件类型
    private ConditionType type;
    // 条件参数
    private Map<String, Object> parameters = new HashMap<>();
}
